package cn.yanjr.system.dao;

import java.sql.SQLException;
import java.util.List;

import cn.yanjr.common.dao.BaseDao;
import cn.yanjr.system.entity.SysLog;

public interface SysLogDao extends BaseDao<String, SysLog>{
	
	public List<SysLog> findAll(SysLog log) throws SQLException;
	
	public SysLog findOne(String id) throws SQLException;
	
	public int save(SysLog log) throws SQLException;
	
	public int update(SysLog log) throws SQLException;
	
	public int delete(String id) throws SQLException;
	
	public int count(String where) throws SQLException;
	
	public List<SysLog> findBySql(String sql) throws SQLException;
	
	public List<SysLog> findByWhere(String where) throws SQLException;
	
	public List<SysLog> findPage(String where, int page, int limit, String orderBy) throws SQLException;
	
}
